package com.jd.jobkeeper.server.service.lock;

public interface LockService {

    Lock newLock(String lockName);

    interface Lock {

        boolean tryLock();

        boolean unLock();
    }
}
